package com.cff.webservice;
import java.net.MalformedURLException;
import java.net.URL;

import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;

@WebServiceClient(name = "TpmSynServerServiceService", 
					targetNamespace = "http://syn.tpm.tms.ums.com/", 
					wsdlLocation = "http://144.131.254.75:8001/utms/wservice/tpmSynService")
public class TpmSynServerServiceClient extends Service{
private final static URL WEBSERVICE_WSDL_LOCATION;
	
	static {
        URL url = null;
        String urlString="http://144.131.254.75:8001/utms/wservice/tpmSynService";
        try {	
            url = new URL(urlString);
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
        WEBSERVICE_WSDL_LOCATION = url;
    }
	protected TpmSynServerServiceClient(URL wsdlDocumentLocation, QName serviceName) {
		super(wsdlDocumentLocation, serviceName);
	}
	
	public TpmSynServerServiceClient() {
        super(WEBSERVICE_WSDL_LOCATION, new QName("http://syn.tpm.tms.ums.com/", "TpmSynServerServiceService"));
    }
	
	@WebEndpoint(name = "TpmSynServerServicePort")
    public TpmSynServerService getWSPort() {
        return (TpmSynServerService)super.getPort(new QName("http://syn.tpm.tms.ums.com/", "TpmSynServerServicePort"), TpmSynServerService.class);
    }
}
